<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>element构建</title>
    <link rel="stylesheet" href="../../css/element.css">
    <script src="../../js/vue2.6.js"></script>
    <script src="../../js/element.js"></script>
</head>
<body>
<div id="app">
    <el-button @click="visible = true">Button</el-button>
    <el-dialog :visible.sync="visible" title="Hello world">
        <p>Try Element</p>
    </el-dialog>
</div>
<script>
    new Vue({
        el: '#app',
        data: function() {
            return { visible: false }
        }
    })
</script>
</body>
</html>